<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>user_header</title>
<link rel="stylesheet" type="text/css" href="/networkforum/css/base.css"/>


<style type="text/css">
/*	.top{
		width:100%;
		left:0;
		top:0;
		right:0;
		height:35px;
		background-color:#a5663b;
		position:fixed;
		overflow:hidden;
		border:1px solid #ccc;
		z-index:9999;
		
	}*/
	.tnav{
		width:1000px;
		height:35px;
		overflow:hidden;
		color:#fbede0;
		font-family:"Courier New", Courier, monospace;
	}
	.tnav li{
		line-height:34px;
		vertical-align:middle;
		margin:0px 10px 0px 10px;
		padding:0px 5px 0px 5px;
	}
	.tlfirst{
		font-size:16px;
		color:#ecb042;
	}
	.tllast{
		float:right;
	}
	.tllast *{
		float:left;
	}
	.tnav li a{
		color:#fbede0;
		font-size: 14px;
	}
</style>
<script type="text/javascript">
window.onload = function(){
	var myajax = getByAjax();
	myajax.init(null,"get",true);
	myajax.get("/networkforum/user/basic_info.do",checkBack);
	myajax = null;
}
function checkBack(d){
	var data = toJson(d);
	if(data.isLogin){
		var userLi = document.getElementById("userLi");
		var userName = document.getElementById("username");
		userName.innerHTML = data.userName;
		userLi.style.display = "";
	}
}
function exsit(){
	var myajax = getByAjax();
	myajax.init(null,"get",true);
	myajax.get("/networkforum/main/exit.do",exsitBack);
	myajax = null;
}
function exsitBack(){
	window.location.reload();
}
</script>
</head>
<body style="background-image:none;background-color:#a5663b;">
	<!--<section class="top">-->    	
        <ul class="tnav">
            <li class="tlfirst">Pea tips社园</li>
            <li onMouseOver="changeBackColor(this,'#b17249')" onMouseOut="changeBackColor(this,'#a5663b')"><a target="_top" href="/networkforum/main/redirect.do?url=/pages/main">社区首页</a></li>
            <li onMouseOver="changeBackColor(this,'#b17249')" onMouseOut="changeBackColor(this,'#a5663b')"><a target="_top" href="/networkforum/main/redirect.do?url=/pages/user/user_main">我的主页</a></li>
            <!-- <li onMouseOver="changeBackColor(this,'#b17249')" onMouseOut="changeBackColor(this,'#a5663b')"><a target="_top" href="/networkforum/main/redirect.do?url=/pages/user/user_main">装扮</a></li> -->
            <li onMouseOver="changeBackColor(this,'#b17249')" onMouseOut="changeBackColor(this,'#a5663b')"><a target="_top" href="/networkforum/article/article_main.do">博客</a></li>
            <li onMouseOver="changeBackColor(this,'#b17249')" onMouseOut="changeBackColor(this,'#a5663b')"><a target="_top" href="/networkforum/main/redirect.do?url=/pages/picture/picture_main">相册</a></li>
            <li onMouseOver="changeBackColor(this,'#b17249')" onMouseOut="changeBackColor(this,'#a5663b')"><a target="_top" href="/networkforum/main/redirect.do?url=/pages/garden/garden_main">后花园</a></li>
            <li onMouseOver="changeBackColor(this,'#b17249')" onMouseOut="changeBackColor(this,'#a5663b')"><a target="_top" href="/networkforum/main/redirect.do?url=/pages/wall/wall_main">涂鸦墙</a></li>
            <li onMouseOver="changeBackColor(this,'#b17249')" onMouseOut="changeBackColor(this,'#a5663b')"><a target="_top" href="/networkforum/main/redirect.do?url=/pages/user/user_control_main">管理中心</a></li>
            <!-- <li onMouseOver="changeBackColor(this,'#b17249')" onMouseOut="changeBackColor(this,'#a5663b')"><a target="_top" href="/networkforum/main/redirect.do?url=/pages/garden/garden_main">资料库</a></li>
            <li onMouseOver="changeBackColor(this,'#b17249')" onMouseOut="changeBackColor(this,'#a5663b')"><a target="_top" href="/networkforum/main/redirect.do?url=/pages/garden/garden_main">消息</a></li>
             -->
             <li id="userLi" class="tllast" style="display:none;">
            	<h4 id="username">xun</h4><a onclick="exsit();" href="#">[退出]</a>
            </li>
        </ul>
    <!--</section>-->
</body>
<script type="text/javascript" src="/networkforum/js/base.js"></script>
<script type="text/javascript" src="/networkforum/js/myajax.js"></script>
</html>
